<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Articlecomment extends Model
{
    protected $fillable = ['body','user_id','article_id'];
    public function user(){
        return $this->belongsTo(User::class);
    }

    public function article(){
        return $this->belongsTo(Article::class);
    }
}
